package com.penghk.springbootdemo.Repository;

import com.penghk.springbootdemo.entity.People;
import org.springframework.data.jpa.repository.JpaRepository;

//public interface PeopleRepositoty extends MongoRepository<People, Long> {
public interface PeopleRepositoty  extends JpaRepository<People, Long> {

    People findByName(String name);
}
